import Vue from 'vue'
import App from './App.vue'

import router from '@/router';

import '@/mock/mockServe';

// swiper config
import 'swiper/css/swiper.css';

// common components
import TypeNav from '@/components/TypeNav'
import Carousel from '@/components/Carousel'
Vue.component("TypeNav",TypeNav);
Vue.component("Carousel",Carousel);


import store from '@/store'


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus=this;
  },
  router,
  store
}).$mount('#app')
